<?php

use think\facade\Route;

Route::group(function () {

    //无需登录
    Route::group(function () {
        Route::any('', 'pc.index/index');
        Route::any('audio-to-text', 'pc.audio/audioToText');
        Route::any('md5', 'pc.index/md5');
        Route::any('js', 'pc.index/js');
        Route::any('json', 'pc.index/json');
        Route::any('css', 'pc.index/css');
        Route::any('qrcode', 'pc.index/qrcode');
        Route::any('barcode', 'pc.index/barcode');
        Route::any('unixtime', 'pc.index/unixtime');
        Route::any('base64', 'pc.index/base64');
        Route::any('base642pic', 'pc.index/base642pic');
        Route::any('pic2base64', 'pc.index/pic2base64');
        Route::any('upload', 'pc.upload/index');
    });

})->middleware(\app\h7_tool\middleware\StationOpenMiddleware::class);
